home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Documents / NeXTSTEP-faq / 6_White.txt < prev    next >
Text File  |  1996-04-17  |  24KB  |  588 lines

  1.  
  2. Subject: FAQ: 6 - White (Intel) Hardware
  3.  
  4.  
  5.  
  6.                           6 WHITE (INTEL) HARDWARE
  7.  
  8. 6.1 What about support for NeXT Computer specific hardware features such as the
  9. DSP?
  10.  
  11.    support, specific DSP, support support, DSP NeXT computers offer
  12.    additional hardware support not commonly available for Intel systems.
  13.    This includes the DSP. The DSP in a NeXT Computer is used for a
  14.    variety of functions including ISDN support and real-time audio
  15.    compression/de-compression. ISDN support for NEXTSTEP/Intel will be
  16.    provided via an add-on PC card and ISDN adapter.
  17.  
  18.    Although the DSP programming feature is missing for NS3.3 on Intel, it
  19.    is not necessary. The important SoundKit functions are rewritten to
  20.    emulate an DSP on Intel, but this costs a lot of CPU time.
  21.  
  22. 6.2 Do Multi-Architecture Binaries take a lot of extra disk space?
  23.  
  24.    MAB, disk space multi application binary, MAB
  25.  
  26.    The concept of NEXTSTEP binaries is different to other platforms. On
  27.    NEXTSTEP only the real program is compiled and linked in a hardware
  28.    specific manner. E.g. the GUI and the multilanguage support are usable
  29.    on any platform running NEXTSTEP and will do so
  30.  
  31.    under OPENSTEP. Therefore the real binary part is sometimes really
  32.    small.
  33.  
  34.    Anyway it might be a good choice to thin such a fat binary. NeXT ships
  35.    tools for this purpose. Look at the manpages for lipo.
  36.  
  37.    If an application wasn't installed using the standard NeXT tool
  38.    Installer, it might also be a good choice to look into the application
  39.    drawer and delete other languages supported but not used by the
  40.    application. This additional data is found in the
  41.  
  42.    different *.lproj subdirectories in the application's folder. To get
  43.    there, activate the application's icon and select Open as directory
  44.    from the Workspace's File menu item.
  45.  
  46. 6.3 How difficult is it to recompile existing NeXT applications over to
  47. NEXTSTEP/Intel?
  48.  
  49.    compile, re
  50.  
  51.    Very easy. Most programs will simply recompile and run, or require few
  52.    changes. We believe that any application that uses the standard
  53.    development environment and Object kits provided by NeXT should simply
  54.    compile and run. Only applications that use architecture specific
  55.    features or data formats, will require additional time to port.
  56.    Several developers have already ported applications to NEXTSTEP/Intel.
  57.    Appsoft Draw simply recompiled and ran, Lighthouse Concurrence took 3
  58.    hours, other programs took 1/2 a day to 2 days, and this was all on a
  59.    very early release of NEXTSTEP/Intel 3.1!
  60.  
  61.    Some applications just will refuse to compile, because they are still
  62.    based on the old 2.0 headers etc. These applications are really rare
  63.    now and may get ported very easily too, by changing the include path
  64.    in your developer package.
  65.  
  66.    Other applications require additional header files and libraries to
  67.    properly compile and link. These applications are mostly based on the
  68.    MiscKit or MusicKit and other PD-Kits. You need to install these Kits
  69.    first to compile these programs.
  70.  
  71.    With the shipping of OpenStep this might change, because it will be
  72.    possible to produce shared libraries with the NeXT Developer package.
  73.    This will enable you to not install the complete Kit, but only the
  74.    shared library and will also reduce your binary no
  75.  
  76.    ticeable.
  77.  
  78. 6.4 When developing programs, are there any portability issues I should be
  79. aware of?
  80.  
  81.    portability Yes. As stated above, any applications that use the
  82.    standard tools provided by the NEXTSTEP development environment,
  83.    should just recompile and work. To make sure developers are aware of
  84.    portability issues, NeXT is producing a guide to address source code
  85.    portability between different architectures running NEXTSTEP. This
  86.    guide is available in the online documentation to the NeXT Developer
  87.    package.
  88.  
  89. 6.5 What is the difference between the NEXTSTEP/Intel User Environment and
  90. Developer Environment?
  91.  
  92.    user vs. developer developer vs. user The NEXTSTEP/Intel User
  93.    Environment consists of the entire NEXTSTEP 3.3 environment, minus the
  94.    developer tools. The Developer Environment includes the developer
  95.    tools such Interface builder, Project Builder, C compilers, Object
  96.    Kits, example source code and developer documentation.
  97.  
  98.    Although it is possible to just get the latest GNU C compiler as a
  99.    binary, you can not use it! This is because you won't get the standard
  100.    libraries needed to produce NeXT applications neither the header
  101.    files. Also it there is currently no third party com
  102.  
  103.    piler shipping. If you want to compile, you are forced to use the NeXT
  104.    Developer package.
  105.  
  106.    The status of compiling a standard UNIX utility without NeXT's headers
  107.    and just based on the supplied shared libraries is unknown.
  108.  
  109. 6.6 If a specific I/O card is not supported by NeXT, can 3rd parties write
  110. drivers for NEXTSTEP/Intel?
  111.  
  112.    I/O driver Yes. NEXTSTEP/Intel uses a newly developed object-oriented
  113.    driver architecture that brings the benefits of object-orientation all
  114.    the way down to the I/O card driver level.
  115.  
  116. 6.7 How is NEXTSTEP/Intel installed?
  117.  
  118.    installation, Intel
  119.  
  120.    NEXTSTEP/Intel will come with a boot floppy and a CDROM. To install
  121.    NEXTSTEP/Intel, the system boots from the floppy, and then installs
  122.    the minimum NEXTSTEP environment from the CDROM (SCSI CDROM drive).
  123.    The user may then chose from several optional packages depending on
  124.    the available disk space and user requirements.
  125.  
  126. 6.8 Will NEXTSTEP/Intel run on 386 machines?
  127.  
  128.    368 Intel 368 No. NEXTSTEP/Intel uses several 486 specific features
  129.    that enhance the performance of NEXTSTEP. NEXTSTEP/Intel will support
  130.    any 468 with Coprocessor and up.
  131.  
  132. 6.9 Will NEXTSTEP/Intel run on the Cyrix 486SLC?
  133.  
  134.    468SLC, Cyrix Cyrix, 468SLC
  135.  
  136.    NeXT states: No. The Cyrix chip not a true 486.
  137.    several other users state: Yes. Slow performance, though.
  138.  
  139. 6.10 Will NEXTSTEP/Intel run on the future Intel Microprocessors in the x86
  140. family?
  141.  
  142.    x68 Intel, x68 Yes. NEXTSTEP/Intel will not only support them, but
  143.    will take advantage of any performance enhancements available with
  144.    future Intel CPU's, just as NeXT has taken advantage of the 486.
  145.  
  146. 6.11 Will NEXTSTEP/Intel run on portable computers?
  147.  
  148.    portable computers
  149.  
  150.    Yes. Many portables and notebooks with 486 CPU's and sufficient system
  151.    resources (>=8MB RAM and >=120MB hard disk space) are available. Since
  152.    NEXTSTEP/Intel will support 640x480 VGA displays in grayscale,
  153.    NEXTSTEP 486 can run on these systems. Do be aware that NEXTSTEP's
  154.    user interface and applications were not designed for low-resolution
  155.    screens, and consequently will impose limitations on the use of some
  156.    applications.
  157.  
  158. 6.12 Will NEXTSTEP/Intel be able to run MS-DOS and Windows programs?
  159.  
  160.    MS-DOS Windows MS-Windows
  161.  
  162.    Yes. NEXTSTEP/Intel will support a DOS and Windows compatibility
  163.    package. This software will allow DOS 5.0 and Windows 3.1 programs to
  164.    run within a NEXTSTEP window. Support will include DOS "Protected"
  165.    mode and Windows 3.1.
  166.  
  167.    This package is called SoftPC and comes with every NEXTSTEP system.
  168.    The software is not free with NEXTSTEP, you have to pay extra. Anyway
  169.    you are not limited in a 30 day test phase when installing it.
  170.  
  171.    Windows 95 and Windows NT are not supported by the emulation software.
  172.  
  173.  
  174. 6.13 How will my DOS and Windows applications perform under NEXTSTEP/Intel?
  175.  
  176.    MS-DOS, performance Windows, performance MS-Windows, performance
  177.  
  178.    Very well. The DOS/Windows compatibility package for NEXTSTEP/Intel
  179.    takes full advantage of the 486 microprocessor. Depending on system
  180.    hardware configuration and type of DOS/Windows application,
  181.    performance should vary between 386 and 486 native DOS/Windows
  182.    performance on Pentium systems. In addition, to enhance the
  183.    performance of Windows applications, a MS Windows specific Graphics
  184.    Device Interface (GDI) driver which maps Microsoft Windows calls
  185.    directly to the NEXTSTEP window server is part of the system.
  186.  
  187. 6.14 Is the window I use to run Microsoft Windows applications resizable?
  188.  
  189.    Windows, size MS-Windwos, size
  190.  
  191.    Yes. You can set the Windows session to any size you wish up to the
  192.    maximum screen size available to the NEXTSTEP/Intel system you are
  193.    using.
  194.  
  195. 6.15 Will this DOS/Windows compatibility system allow me to run several DOS
  196. programs at once?
  197.  
  198.    MS-DOS, multitasking
  199.  
  200.    Yes. Since NEXTSTEP/Intel is a multi-tasking, virtual memory operating
  201.    environment, several DOS/Windows sessions can be run at once.
  202.  
  203.    Hey, did I say Windows? Yes you can do real Windows multitasking with
  204.    SoftPC.
  205.  
  206. 6.16 Can I cut and paste between DOS/Windows sessions and NEXTSTEP
  207. applications?
  208.  
  209.    cut&paste, Windows cut&paste, MS-DOS cut&paste, MS-Windows
  210.  
  211.    Yes. You can cut and paste text and graphics between DOS/Windows and
  212.    NEXTSTEP applications.
  213.  
  214. 6.17 Can I use both DOS and NEXTSTEP/Intel partitions on the same hard disk?
  215.  
  216.    partitions, NeXT and DOS multi OS setup OS, more than one
  217.  
  218.    Yes. NEXTSTEP/Intel will support multiple operating systems on the
  219.    same local hard disk. When the system boots, the user can chose to
  220.    boot another operating system (such as DOS) or NEXTSTEP. If the local
  221.    partition contains DOS, NEXTSTEP/Intel will be able to access the
  222.    local DOS partition and read/write files to it.
  223.  
  224.    Executive Summary: It is possible to install DOS, Windows NT with
  225.    NTFS, and NEXTSTEP/Intel on the same disk, and select which partition
  226.    is booted at boot time.
  227.  
  228.    I spent some time experimenting with a 200MB SCSI disk. I wanted to
  229.    see if the following configuration would be possible:
  230.  
  231.  
  232.         Partition 1     Primary DOS
  233.         Partition 2     Extended DOS
  234.         Partition 3     Windows NT NTFS
  235.         Partition 4     NS/Intel 3.2
  236.  
  237.  
  238.    Since Windows NT requires at least 70MB for installation, and NS/Intel
  239.    requires at least 120MB, there wasn't much room for DOS! Ultimately, I
  240.    only tested a three partition system (DOS, NTFS, NS/Intel), but I have
  241.    no reason to believe that the extended DOS wouldn't also work.
  242.  
  243.    The recipe is as follows:
  244.  
  245.      * Preparation. You need a bootable DOS floppy that has FORMAT.COM on
  246.        it. You need another (blank) floppy for installing NT.
  247.  
  248.      * Start with the NS/Intel installation. When it asks you how you
  249.        want to configure your disk, it gives you three choices, which are
  250.        basically
  251.          1. erase the whole disk and use it all for NS/Intel,
  252.          2. save some room for DOS,
  253.          3. advanced. Choose the advanced option, which places you in
  254.             NS/Intel fdisk (not to be confused with DOS FDISK.EXE).
  255.      * Create three partitions in this order:
  256.          1. Primary DOS (if more than 32MB desired, use the "large" FAT
  257.             option)
  258.          2. HPFS (this is a placeholder for NT, and can be any non-DOS
  259.             format)
  260.          3. NEXTSTEP
  261.      * Proceed with the rest of the NEXTSTEP installation.
  262.  
  263.      * When NEXTSTEP is safely installed and tested out, boot DOS from
  264.        your bootable DOS floppy.
  265.  
  266.      * FORMAT the DOS partition (which should be Drive C if you made it
  267.        the first partition). You want to FORMAT C:/S, to install the boot
  268.        code to make the DOS partition bootable.
  269.  
  270.      * Once DOS is safely formatted and tested out, insert the NT
  271.        installation floppy and reboot.
  272.      * Proceed with the NT installation. Tell Setup to install NT in the
  273.        second partition (which shows up as "Unformatted"). You can select
  274.        NTFS for FAT format.
  275.  
  276.      * Insert the blank floppy when asked. Don't bother to format it, NT
  277.        unconditionally formats it.
  278.  
  279.      * If you select NTFS, there is a scary part of the installation that
  280.        makes it seem like NT can't reboot. In fact, it is converting the
  281.        installed files from FAT to NTFS in place. Just let it keep
  282.        rebooting until it finishes, don't interrupt it like I did.
  283.  
  284.      * Finish setting up NT and test it out. It should be able to see the
  285.        DOS partition in FileManager.
  286.  
  287.      * Likewise, there should be a DOS filesystem in / on NS/Intel. If
  288.        you configured NT for FAT instead of NTFS, there should be two DOS
  289.        filesystems in /.
  290.  
  291.  
  292.    That's it. When you boot, you see the familiar NS/Intel boot manager.
  293.    If you select DOS, it boots NT, which in turn offers you a chance to
  294.    boot DOS or NT (not NS/Intel, of course). Kind of weird that you have
  295.    this two tiered boot, but it's probably because the bootsector has
  296.    been modified by NT. I haven't tried setting the active partition to
  297.    DOS -- that might avoid the two tiers.
  298.  
  299. 6.18 Can NEXTSTEP/Intel read, write, and format DOS and Mac floppies?
  300.  
  301.    MacIntosh, r/w floppy MS-DOS, r/w floppy Yes.
  302.  
  303. 6.19 NEXTSTEP/Intel 3.1, DOS, Linux/NT multi-boot system?
  304.  
  305.    multi OS boot Linux MS-DOS OS/2 boot manager dual boot
  306.  
  307.    The OS/2 boot manager does this nicely.
  308.  
  309.    NOTES ON INSTALLING DOS, OS/2 AND NEXTSTEP FOR DUAL BOOT
  310.  
  311.      * Boot OS/2 from diskette and press Escape to get to the [A:]
  312.        command prompt
  313.  
  314.      * Run the OS/2 FDISK program and create the following partitions:
  315.           + 1 MB Boot Manager
  316.           + 20MB DOS Primary partition (drive C:)
  317.           + 64MB OS/2 Extended partition (logical drive D:)
  318.           + 120MB Data Extended partition (logical drive E:) (or 200MB or
  319.             whatever size)
  320.    NOTE: LEAVE THE REMAINING 460+MB FREE SPACE UNFORMATTED DO NOT CREATE
  321.        A PARTITION FOR THE REMAINING SPACE
  322.  
  323.      * Re-boot the machine and boot DOS from diskette.
  324.  
  325.      * Format drive C: and install DOS on drive C: with the following
  326.        command: format c: /s /u
  327.  
  328.      * Now Re-boot the machine with the OS/2 Installation diskette.
  329.  
  330.      * Install OS/2 on Drive D: (the 64 MB logical partition) You will be
  331.        prompted to install OS/2 on the default drive C: You will need to
  332.        select the option to change the drive which will throw you into
  333.        FDISK. Just make drive D: installable and proceed.
  334.  
  335.      * After OS/2 has been installed shutdown the system. Do a cold power
  336.        off boot.
  337.  
  338.      * Cold boot the machine with the NEXTSTEP boot diskette.
  339.  
  340.      * Proceed with normal NEXTSTEP install and you should get the
  341.        following disk installation option screen:
  342.  
  343.  
  344.         Type 1 to erase the entire disk and use all 667 MB ...
  345.         Type 2 to set aside some space for DOS and use the rest ...
  346.         Type 3 to keep existing partitions and use the 462 MB free space ...
  347.         Type 4 to use the 184 MB DOS extended partition for NEXTSTEP.
  348.         Type 5 for advanced options (in English only).
  349.  
  350.         --->
  351.  
  352.  
  353.        Choose option number 3 and proceed with the NEXTSTEP install
  354.  
  355.      * After NEXTSTEP has been installed, re-boot the machine and select
  356.        'd' from the NEXTSTEP boot manager menu to boot DOS.
  357.  
  358.      * When DOS has booted, run the FDISK program to set the active
  359.        partition to the first partition, the BOOT Manager partition. Then
  360.        exit fdisk.
  361.  
  362.      * Now run the DOS FDISK program again but with the following
  363.        parameter: fdisk /mbr This command removes the NEXTSTEP boot
  364.        manager from the DOS partition.
  365.  
  366.      * Now re-boot the machine and the boot manager should come up.
  367.        Select OS/2
  368.  
  369.      * Once OS/2 has booted, run the OS/2 FDISK program and name the
  370.        NEXTSTEP partition and add it to the boot manager menu.
  371.  
  372.      * You should now have a machine with DOS, NEXTSTEP, OS/2 listed in
  373.        the boot manager menu when the machine starts up. The boot manager
  374.        defaults to the OS that was last booted.
  375.  
  376.  
  377. 6.20 NeXTSTEP on INTEL, KEYBOARD-ERROR ...
  378.  
  379.    keyboard error, Intel
  380.  
  381.    We installed NeXTSTEP for Intel on a P5-Board using an Adaptec A1540
  382.    SCSI-Controller. The System boots correctly. After running the kernel
  383.    the keyboard is without any function. We can't use it anymore.
  384.    Rebooting doesn't eliminate the error (advise from I-Guide).
  385.  
  386.    Well, it seems that the PS/2 Mouse driver interferes with the keyboard
  387.    driver when installing on some motherboards. You have to remove the
  388.    PS/2 mouse driver, then reboot, and it will work fine. I destroy the
  389.    driver on our machines, so that config=Default will work properly as
  390.    well. You should be able to remove the driver without reinstalling.
  391.  
  392. 6.21 NS 3.2 Tseng ET4000 Video Driver doesn't work.
  393.  
  394.    ET4000, NS3.2
  395.  
  396.    TSENG Cards often have different DACs and BIOS-Versions. It is
  397.    important, that the graphics card do have the original BIOS from TSENG
  398.    Laps. Otherwise, it is not possible to run NS with the 1024 x 768
  399.    resolution.
  400.  
  401. 6.22 Accessing ROM monitor on Intel-System, how?
  402.  
  403.    ROM-Monitor, Intel On Intel you just type -s at the boot: prompt. Also
  404.    try CTRL-C at the point where it hangs it might continue. This gives
  405.    you single user mode. There simply is no ROM-Monitor on Intel as it is
  406.    on NeXT. You do have the choice to enter a simple ROM-Debugger by
  407.    choosing the appropriate option when the system hangs.
  408.  
  409. 6.23 Adaptec 2940 Fast and Sync. SCSI explanation...
  410.  
  411.     This message is to clear up the confusion on the issue of whether or
  412.    not the NEXTSTEP driver for the Adaptec 2940 PCI SCSI Host Adapter
  413.    supports Fast SCSI (i.e., 10 MB/s data transfers).
  414.  
  415.    The Adaptec 2940 SCSI Host Adapter Driver supports Synchronous Data
  416.    Transfer as well as Fast SCSI transfers. In order to enable
  417.    Synchronous Data Transfer, this feature must be enabled in both the
  418.    2940's AutoSCSI program and in the NEXTSTEP Configure application,
  419.    when configuring the Adaptec 2940 driver. In the AutoSCSI program,
  420.    this feature is enabled in the SCSI Device Configuration menu, via the
  421.    "Initiate Sync Negotiation" field. This can be enabled or disabled on
  422.    a per-target basis. In the Configure application, the "Synchronous"
  423.    button, if disabled, disables Synchronous Transfers for ALL targets.
  424.    If enabled, the values selected in the AutoSCSI program are used to
  425.    determine whether or not Synchronous Transfers occur on a per-target
  426.    basis.
  427.  
  428.    The Synchronous Transfer data rate is determined in the 2940's
  429.    AutoSCSI program, via the "Maximum Sync Transfer Rate" field in the
  430.    SCSI Device Configuration menu. "Fast SCSI" Transfers are enabled by
  431.    selecting a value of 10 (i.e., 10 Megabytes/seconds) for this field.
  432.    Note that if Synchronous Transfers are disabled, the "Maximum Sync
  433.    Transfer Rate" field is meaningless. Also note that it is not
  434.    recommended to select a value higher than 5 for a device which is in
  435.    an external enclosure and connected to the 2940 via an external SCSI
  436.    cable.
  437.  
  438. 6.24 Do EIDE-Drives work with NEXTSTEP?
  439.  
  440.    EIDE
  441.  
  442.    Yes, a driver is included in NEXTSTEP 3.3
  443.  
  444. 6.25 Anyone have a driver yet that does 8 bit color on an ET4000/w32p card?
  445. (Hercules Dynamite Pro VLB)
  446.  
  447.    ET4000/w32p, 8 Bit color
  448.  
  449.    Here's a trick that will work with 3.3 if the driver works with your
  450.    adapter. You need the latest driver though.
  451.  
  452.    Simply select one of the 8-bit gray resolutions in Configure. Save the
  453.    configuration and quit Configure. Open Instance0.table inside the
  454.    driver bundle and search for BW:8 and replace it by RGB:256/8. Save
  455.    the file. Restart your machine and you've got 8-bit color!!!
  456.  
  457. 6.26 Does a Glidepoint pointing device work with NEXTSTEP?
  458.  
  459.    Glidepoint
  460.  
  461.    It will work nicely under NS as you don't need any driver to make it
  462.    work and use the nice features that GlidePoint have, like 'double-tap'
  463.    to replace left-button click and 'double-tap and slide on the pad' to
  464.    replace the hold the button and move for dragging an object.
  465.  
  466. 6.27 AppleTalk under NEXTSTEP/Intel?
  467.  
  468.    AppleTalk, Intel IPT has a product called Partner, which works fine
  469.    under 3.3 and mounts AppleShare Volumes, supports AT printing etc.
  470.  
  471. 6.28 Booting hangs with black screen
  472.  
  473.    Triton Bootoptions
  474.  
  475.    On some Triton based boards there seems to be a graphic problem while
  476.    booting. The solution is to switch off graphic display and always boot
  477.    with the '-v' option turned on (enter this at the 'boot:' prompt).
  478.  
  479.    If you don't get a 'boot:' prompt, or if you just want to fix things
  480.    forever, you need to enter Default.table and Instance0.table in
  481.    /usr/Devices/System.config and set 'BootGraphics="No"'. This has the
  482.    same effect as typing '-v' at
  483.  
  484.    the 'boot:' prompt every time.
  485.  
  486. 6.29 Why are the features of my graphic card useless?
  487.  
  488.    graphic card
  489.  
  490.    For the purposes of this discussion, I will limit my response to the
  491.    manner in which DPS operates as part of the NEXTSTEP window server.
  492.    DPS sometimes draws directly to the screen and sometimes to offscreen
  493.    memory (buffered windows). The latter is the most common case. The
  494.    former occurs only in nonretained windows and visible portions of
  495.    retained windows.
  496.  
  497.    DPS is split into two sections: a device independent kernel and a
  498.    device dependent driver layer. The driver layer is free to use
  499.    graphics hardware to do its job; however there are complications.
  500.    First, most graphics cards only allow you to use the hardware to draw
  501.    into the framebuffer, not into system memory. This renders the
  502.    hardware unusable for buffered windows. Second, the hardware must draw
  503.    the same pixels that the software would draw. Often this is hard to
  504.    achieve with satisfactory performance results. The DPS device
  505.    primitives rely on precise pixel layout that often cannot be
  506.    guaranteed using the hardware in the most straightforward manner.
  507.  
  508.    So, while it is theoretically possible to use graphics hardware with
  509.    DPS in NEXTSTEP, it is not very practical. This should not lead you to
  510.    the conclusion that all graphics cards are the same when it comes to
  511.    NEXTSTEP. The speed of the system bus (ISA, EISA, PCI, VLB) is a big
  512.    determinant of performance, but the internal architecture of the card
  513.    itself also has a huge impact on the framebuffer memory bandwidth. I
  514.    won't go into details, but some of the determinants include DRAM vs.
  515.    VRAM, memory interleaving, and burst access.
  516.  
  517.    Other factors also influence the quality of a display card. These
  518.    include the speed and stability of the RAMDAC and the supported
  519.    display modes to name jsut two.
  520.  
  521. 6.30 How to use MIDI without the MusicKit?
  522.  
  523.    MIDI MusicKit
  524.  
  525.      * Be sure you have an MPU-401 compatible MIDI card for the PC.
  526.  
  527.      * Get the Music Kit and install it. It's on the ftp servers.
  528.  
  529.      * Install the MIDI driver by double clicking on
  530.        /LocalLibrary/Devices/Mididriver, which will add it to the system.
  531.        Set the IRQ and IO port in the Configure.app. Then reboot.
  532.  
  533.      * If your program does not use the -ObjC flag on its link line, link
  534.        against /usr/local/lib/libmusickit.a. However, if your program
  535.        does use the -ObjC flag, extract the following files from
  536.        libmusickit.a and link against them
  537.  
  538.        explicitly:
  539.  
  540.  
  541.         mididriver\_replyServer.o
  542.         mididriverUser.o
  543.         mididriver\_nonMig.o
  544.  
  545.  
  546.      * Add this line as the first line in the C file that accesses the
  547.        MIDI driver:
  548.  
  549.  
  550.         #import <musickit/midi\_driver\_compatability.h>
  551.  
  552.  
  553.        Be sure that you do not explicitly import . This file is
  554.        (conditionally) imported by .
  555.  
  556.        The reason for needing a separate API for Intel is that there's a
  557.        structure size disparity between the 68k and Intel versions of
  558.        NeXT's libsys_s. So we defined a new set of MIDI functions for the
  559.        Intel driver. The header file above defines the old
  560.  
  561.        names to be the new names.
  562.  
  563.      * Change the mididriver port name from mididriver to Mididriver.
  564.        Example:
  565.  
  566.  
  567. #if i386
  568. #define MIDIDRIVER\_NAME "Mididriver"
  569. #else
  570. #define MIDIDRIVER\_NAME "mididriver"
  571. #endif
  572.  
  573.     r = netname\_look\_up(name\_server\_port, "",MIDIDRIVER\_NAME,
  574.                         &driverPort);
  575.  
  576.  
  577.        This is another change to prevent conflict with the NeXT hardware
  578.        driver.
  579.  
  580.  
  581.      _________________________________________________________________
  582.  
  583.      * (weiter mit 7 Storage)
  584.  
  585.  
  586.      _________________________________________________________________
  587.  
  588.    This document was converted from LaTeX using Karl Ewald's latex2html.